package com.yunbiji.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class SystemController {
    @GetMapping("login.html")
    public String goLogin(){
        return "login";
    }
    @GetMapping("registration.html")
    public String goRegistration(){
        return "registration";
    }
    @GetMapping("edit.html")
    public String toEdit(){
        return "edit";
    }
    @GetMapping("activity.html")
    public String toActivity(){
        return "activity";
    }
    @GetMapping("activity_detail.html")
    public String goActDetail(){
        return "activity_detail";
    }
    @GetMapping("change_password.html")
    public String toChangePassword(){
        return "change_password";
    }
}
